package com.zzyy.dtx.coupon.api;

import com.zzyy.dtx.coupon.dto.CouponDTO ;
import org.dromara.hmily.annotation.Hmily;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient("DTX-COUPON3001")
public interface CouponApi {

    @RequestMapping(value = "/coupon/decrease")
    @Hmily
    public String decrease(@RequestBody CouponDTO couponDTO);

}


